from random import randint

class Dice:
    def __init__(self,sides = 6):
        self.sides = sides

    def roll_dice(self):
        num = randint(1,self.sides)
        print(num)

if __name__ != '__main__':
    exit()

dice6 = Dice(6)
times = 10
print('i will roll the dice %s times' % times)
for i in range(0,times):
    dice6.roll_dice()

dice6 = Dice(10)
print('i will roll the dice %s times' % times)
for i in range(0,times):
    dice6.roll_dice()

dice6 = Dice(20)
print('i will roll the dice %s times' % times)
for i in range(0,times):
    dice6.roll_dice()
